package com.cncf.service;

import com.cncf.entity.InvalidReportFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

/**
* @author zj 
*/
public interface InvalidReportFileService {

    int addInvalidReportFile(InvalidReportFile invalidReportFile);

    int updateInvalidReportFile(InvalidReportFile invalidReportFile);

    InvalidReportFile getInvalidReportFileById(String id);

    List<InvalidReportFile> getAllInvalidReportFile(Integer page, Integer pageSize);

    int deleteInvalidReportFile(String id);

    boolean insertInvalidReportForBatch(String headerString, InputStream is) throws IOException;
}